<include file="header" />

<script src="./js/jtopo/demo.js"></script>

<script type="text/javascript" src="./js/jtopo/snippet/jquery.snippet.min.js"></script>
<script type="text/javascript" src="./js/jtopo/jtopo-min.js"></script>

<script id='code'>
$(document).ready(function(){
	var content = $('#content').empty();
	var canvas = $('<canvas width="10000" height="800px">').attr('id', 'canvas').appendTo(content);

	var canvas = document.getElementById('canvas');
	var stage = new JTopo.Stage(canvas);
	var scene = new JTopo.Scene(stage);
	stage.play(scene);
	
	var node = new JTopo.Node("我的");							
	node.setLocation(300,200);
	scene.add(node);

	node.addEventListener('mouseup', function(event){				
		if(event.button == 2){
			node.name = '右击';
		}
	});	
});
</script>
  </head>

  <body>
	<center>
	<div class="wrap_div">
		<div class="content">
		  <div class="right">
				<div id="content" style="float:left;">	
					
				</div>
		  </div>
		</div>
	</div>
	</center>
  </body>
</html>